a {
    text-decoration: none;
}

html {
    font-size: 50px;
}

@media screen and (min-width: 320px) {
    html {
        font-size: 21.33333333px;
    }
}

@media screen and (min-width: 360px) {
    html {
        font-size: 24px;
    }
}

@media screen and (min-width: 375px) {
    html {
        font-size: 25px;
    }
}

@media screen and (min-width: 384px) {
    html {
        font-size: 25.6px;
    }
}

@media screen and (min-width: 400px) {
    html {
        font-size: 26.66666667px;
    }
}

@media screen and (min-width: 414px) {
    html {
        font-size: 27.6px;
    }
}

@media screen and (min-width: 424px) {
    html {
        font-size: 28.26666667px;
    }
}

@media screen and (min-width: 480px) {
    html {
        font-size: 32px;
    }
}

@media screen and (min-width: 540px) {
    html {
        font-size: 36px;
    }
}

@media screen and (min-width: 720px) {
    html {
        font-size: 48px;
    }
}

@media screen and (min-width: 750px) {
    html {
        font-size: 50px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clear::after,
.clear::before {
    display: table;
    content: "";
}

.clear::after {
    clear: both;
}

body {
    width: 15rem;
    min-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial, Helvetica, STHeiTi, sans-serif;
    background: #f2f2f2;
    padding-bottom: 3.18rem;
}

html ::-webkit-scrollbar {
    display: none;
}

a,
img {
    -webkit-touch-callout: none;
}

img {
    vertical-align: middle;
}

a {
    -webkit-tap-highlight-color: transparent;
}

em,
i {
    font-style: normal;
}

ul li,
ol li {
    list-style: none;
}

.border-b {
    border-bottom: 1px solid #f2f2f2;
}

header {
    display: flex;
    width: 15rem;
    height: 1.76rem;
    line-height: 1.76rem;
    background-color: #ffdb47;
}

header .classify {
    width: 0.72rem;
    height: 1.2rem;
    background: url(../upload/more.png) no-repeat;
    background-size: 0.72rem 1.2rem;
    margin: 0.2rem 0.38rem 0.2rem 0.7rem;
}

header .top-img {
    flex: 1;
    text-align: center;
}

header .top-img img {
    width: 7.8rem;
    height: 1.52rem;
    margin-top: 0.16rem;
}

header .login {
    width: 0.72rem;
    height: 1.2rem;
    background: url(../upload/login.png) no-repeat;
    background-size: 0.72rem 1.2rem;
    margin: 0.2rem 0.7rem 0.2rem 0.38rem;
}

.search {
    position: relative;
    height: 1.84rem;
    background-color: #ffdb47;
    padding: 0 0.48rem;
}

.search input {
    width: 100%;
    box-sizing: border-box;
    height: 1.28rem;
    background-color: white;
    border-radius: 0.64rem;
    border: none;
    outline: none;
    padding: 0.06rem 0.4rem 0 1.5rem;
    margin-top: 0.2rem;
    font-size: 0.5rem;
    color: #757575;
}

.search input::placeholder {
    font-size: 0.5rem;
    color: #757575;
}

.search .search-icon {
    position: absolute;
    left: 0.94rem;
    top: 0.54rem;
    width: 0.72rem;
    height: 0.72rem;
    background: url(../images/search.png) no-repeat;
    background-size: 0.72rem 0.72rem;
}

.index-warp {
    width: 15rem;
    margin: 0 auto;
}

.index-warp .banner-bg {
    width: 15rem;
    background: url(../images/banner-bg.png) no-repeat;
    background-size: 15rem auto;
}

.index-warp .banner-bg .banner {
    padding: 0 0.48rem;
    width: 14.04rem;
    height: 4.58rem;
    border-radius: 0.4rem;
}

.index-warp .banner-bg .banner img {
    width: 14.04rem;
    height: 4.58rem;
    border-radius: 0.4rem;
}

.index-warp nav {
    width: 15rem;
    padding-bottom: 0.48rem;
    background-color: #f7f7f7;
}

.index-warp nav a {
    display: block;
    float: left;
    width: 3rem;
    height: 2.84rem;
    text-align: center;
}

.index-warp nav a img {
    width: 1.68rem;
    height: 1.68rem;
    margin-top: 0.48rem;
}

.index-warp nav a p {
    font-size: 0.44rem;
    color: #666;
    line-height: 0.6rem;
}

.index-warp .people-boon {
    width: 15rem;
    height: 4.68rem;
}

.index-warp .people-boon a {
    float: left;
}

.index-warp .people-boon a:nth-child(1) {
    width: 7.5rem;
    height: 4.68rem;
    border-right: 0.04rem solid #f2f2f2;
}

.index-warp .people-boon a:nth-child(1) img {
    width: 7.46rem;
    height: 4.68rem;
}

.index-warp .people-boon a:nth-child(2) {
    width: 3.74rem;
    height: 4.68rem;
    border-right: 0.04rem solid #f2f2f2;
}

.index-warp .people-boon a:nth-child(2) img {
    width: 3.72rem;
    height: 4.68rem;
}

.index-warp .people-boon a:nth-child(3) {
    width: 3.74rem;
    height: 4.68rem;
    float: right;
}

.index-warp .people-boon a:nth-child(3) img {
    width: 3.74rem;
    height: 4.68rem;
}

.index-warp .discount {
    height: 10.32rem;
    padding: 0 0.5rem;
    margin-top: 0.48rem;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
}

.index-warp .discount>div {
    float: left;
    box-sizing: border-box;
    width: 7rem;
    height: 5.16rem;
    background-color: white;
    padding: 0.48rem 0.48rem 0 0.48rem;
}

.index-warp .discount>div:nth-child(1) {
    border-top-left-radius: 0.3rem;
}

.index-warp .discount>div:nth-child(2) {
    border-top-right-radius: 0.3rem;
}

.index-warp .discount>div:nth-child(3),
.index-warp .discount>div:nth-child(4) {
    border-bottom: 1px solid #f2f2f2;
}

.index-warp .discount .hb-text {
    display: block;
    font-size: 0;
}

.index-warp .discount .hb-text h3 {
    display: inline-block;
    margin-right: 0.2rem;
    font-size: 0.56rem;
    color: #333;
}

.index-warp .discount .hb-text span {
    display: inline-block;
    width: 0.68rem;
    height: 0.56rem;
    line-height: 0.56rem;
    background-color: #ffcc00;
    border-radius: 0.2rem;
    font-size: 0.4rem;
    color: #333;
    text-align: center;
    font-weight: bold;
}

.index-warp .discount .hb-text i {
    font-size: 0.4rem;
    margin: 0 0.1rem;
}

.index-warp .discount .hb-text em {
    display: block;
    font-size: 0.48rem;
    color: #999;
}

.index-warp .discount ul li {
    float: left;
    position: relative;
    width: 2.4rem;
}

.index-warp .discount ul li:nth-child(1) {
    margin-right: 1.1rem;
}

.index-warp .discount ul li a {
    display: block;
}

.index-warp .discount ul li a img {
    width: 2.4rem;
    height: 2.4rem;
}

.index-warp .discount ul li a .w140 {
    width: 2.8rem;
    height: 2.8rem;
}

.index-warp .discount ul li a p {
    font-size: 0.4rem;
    text-align: center;
    color: #ff5500;
}

.index-warp .discount .box-cheap,
.index-warp .discount .box-spell {
    border-left: 1px solid #f2f2f2;
    padding-left: 0.48rem;
}

.index-warp .discount .box-cheap ul li a,
.index-warp .discount .box-spell ul li a {
    display: block;
}

.index-warp .discount .box-cheap ul li a p,
.index-warp .discount .box-spell ul li a p {
    position: absolute;
    left: -0.2rem;
    bottom: -0.64rem;
    width: 3rem;
    height: 1.08rem;
    line-height: 1.4rem;
    background: url(../upload/tu-top1.png) no-repeat;
    background-size: 2.8rem 1rem;
    color: #333;
    font-size: 0.36rem;
}

.index-warp .discount .list-text .top-man {
    display: inline-block;
    width: 1.8rem;
    height: 0.56rem;
    line-height: 0.56rem;
    border-radius: 0.28rem;
    text-align: center;
    background-color: #f9f5ee;
    color: #ab813a;
    font-size: 0.42rem;
    font-weight: normal;
}

.index-warp .recommend {
    height: 3.44rem;
    padding: 0 0.48rem 0 0.48rem;
}

.index-warp .recommend .left-title {
    width: 3.56rem;
    height: 3.44rem;
    background-color: white;
    padding: 0.46rem 0.36rem 0;
    border-bottom-left-radius: 0.3rem;
}

.index-warp .recommend .left-title h4 {
    font-size: 0.56rem;
    color: #333;
}

.index-warp .recommend .left-title p {
    font-size: 0.48rem;
    color: #999;
}

.index-warp .recommend .right-show {
    background-color: white;
    padding-right: 0.48rem;
    border-bottom-right-radius: 0.3rem;
}

.index-warp .recommend .right-show ul li {
    float: left;
    width: 2.5rem;
    height: 3.44rem;
    padding-top: 0.48rem;
    text-align: center;
}

.index-warp .recommend .right-show ul li img {
    width: 2rem;
    height: 2rem;
}

.index-warp .recommend .right-show ul li p {
    font-size: 0.4em;
    color: #333;
}

.index-warp h1 {
    height: 1.2rem;
    font-size: 0.6rem;
    color: #444;
    padding-left: 0.48rem;
}

.index-warp .top {
    padding: 0 0.48rem;
}

.index-warp .top ul li {
    float: left;
    position: relative;
    width: 4.52rem;
    height: 5.32rem;
    background-color: white;
    margin-right: 0.2rem;
    border-radius: 0.2rem;
}

.index-warp .top ul li:nth-child(3) {
    margin-right: 0;
}

.index-warp .top ul li a {
    display: block;
    text-align: center;
}

.index-warp .top ul li a img {
    width: 3rem;
    height: 3rem;
    margin: 0.3rem 0.76rem 0 0.76rem;
}

.index-warp .top ul li a .top-bg {
    width: 100%;
    height: 1.86rem;
    background: url(../upload/top1-bg.png) no-repeat;
    box-sizing: auto 0.92rem;
    position: absolute;
    left: 0;
    bottom: 0;
}

.index-warp .top ul li a .top-bg .top-mane {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.9rem;
    height: 0.6rem;
    line-height: 0.6rem;
    border: 0.04rem solid #d9a87a;
    font-size: 0.42rem;
    text-align: center;
    border-radius: 0.3rem;
    background-color: white;
    color: #d9a87a;
}

.index-warp .top ul li a .top-bg .top-title {
    font-size: 0.5rem;
    color: white;
    margin-top: 0.4rem;
}

.index-warp .top ul li a .top-bg .top-desc {
    color: #f9eee4;
    font-size: 0.4rem;
}

.index-warp .top ul li:nth-child(2) a .top-bg {
    background: url(../upload/top2-bg.png) no-repeat;
}

.index-warp .top ul li:nth-child(2) a .top-mane {
    border: 0.04rem solid #fb7f0a;
}

.index-warp .Ulike {
    padding: 0 0.48rem;
}

.index-warp .Ulike .like {
    width: 14rem;
    height: 1.4rem;
    margin-top: 0.48rem;
}

.index-warp .Ulike .like a {
    display: block;
    width: 14rem;
    height: 1.4rem;
}

.index-warp .Ulike .like a img {
    width: 14rem;
    height: 1.2rem;
}

.index-warp .Ulike ul li {
    float: left;
    position: relative;
    width: 6.84rem;
    height: 10.84rem;
    margin-bottom: 0.36rem;
    background-color: white;
    border-radius: 0.2rem;
}

.index-warp .Ulike ul li:nth-child(2n) {
    float: right;
}

.index-warp .Ulike ul li a {
    display: block;
}

.index-warp .Ulike ul li a .produt-img img {
    width: 6.84rem;
    height: 6.84rem;
}

.index-warp .Ulike ul li a .porduct-title {
    width: 6.36rem;
    height: 1.34rem;
    line-height: 0.68rem;
    color: #333;
    font-size: 0.52rem;
    margin-left: 0.24rem;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.index-warp .Ulike ul li a .cuxiao-tag {
    display: flex;
    margin-top: 0.28rem;
    margin-left: 0.24rem;
}

.index-warp .Ulike ul li a .cuxiao-tag img {
    width: 0.96rem;
    height: 0.48rem;
    margin-right: 0.16rem;
}

.index-warp .Ulike ul li a .cuxiao-tag span {
    display: inline-block;
    height: 0.44rem;
    padding: 0.04rem 0.24rem;
    line-height: 0.4rem;
    border: 0.02rem solid #ffbb00;
    border-radius: 0.1rem;
    font-size: 0.34rem;
    color: #333;
    background-color: #fefbee;
}

.index-warp .Ulike ul li a .price {
    display: flex;
    position: absolute;
    left: 0.24rem;
    bottom: 0.24rem;
    height: 0.76rem;
    line-height: 0.76rem;
    padding-left: 0.24rem;
    margin-top: 0.6rem;
}

.index-warp .Ulike ul li a .price .real-price,
.index-warp .Ulike ul li a .price .last-price {
    font-size: 0.52rem;
    color: #ff4422;
    font-weight: bold;
}

.index-warp .Ulike ul li a .price .flag {
    font-size: 0.72rem;
    color: #ff4422;
    font-weight: bold;
}

.index-warp .Ulike ul li a .price .price-comments {
    font-size: 0.4rem;
    color: #99a6c4;
    margin: -0.1rem 0 0 0.28rem;
}

.index-warp .fooder {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 15rem;
    line-height: 0.4rem;
    background-color: white;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

.index-warp .fooder a {
    width: 3rem;
    height: 2rem;
    text-align: center;
}

.index-warp .fooder a img {
    width: 0.96rem;
    height: 0.96rem;
    margin-top: 0.24rem;
}

.index-warp .fooder a span {
    font-size: 0.4rem;
    color: #666;
    display: block;
}

.index-warp .fooder a .active {
    color: black;
    font-weight: bold;
}

.index-warp .top-login {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    padding-bottom: constant(safe-area-inset-bottom);
    /*兼容 IOS<11.2*/
    padding-bottom: env(safe-area-inset-bottom);
    /*兼容 IOS>11.2*/
    width: 15rem;
    height: 1.8rem;
    background-color: black;
    opacity: 1;
}

.index-warp .top-login img {
    width: 14rem;
    height: 1.8rem;
}

.return-top a {
    position: fixed;
    right: 0.3rem;
    bottom: 3.7rem;
    width: 2rem;
    height: 2rem;
    background: url(../upload/top.png) no-repeat;
    background-size: 2rem 2rem;
}

.new-login a {
    position: fixed;
    right: 0.2rem;
    top: 1rem;
    width: 2rem;
    height: 2.9rem;
}

.new-login img {
    width: 2rem;
    height: 2.9rem;
}

@media screen and (width: 375px) and (height: 812px) {
    .fooder {
        padding-bottom: 0.68rem;
    }
}